select count(*) from JDEARCMBYLINEOFBUSINES
where [AddressNumber]>2000000


select count(*) from JDEARCMBYLINEOFBUSINES
where [AddressNumber]<1209931


select count(*) from JDEARCMBYLINEOFBUSINES
where [AddressNumber]>=1631382 and AddressNumber <1651003

select count(*) from JDEARCMBYLINEOFBUSINES
where [AddressNumber]>=1651003 and  AddressNumber<5066273

select count(*) from JDEARCMBYLINEOFBUSINES
where [AddressNumber]>=5066273 and  AddressNumber<6294016


select count(*) from JDEARCMBYLINEOFBUSINES
where [AddressNumber]>=6294016 


select addressnumber, ntile(5) over(order by addressnumber asc) from JDEARCMBYLINEOFBUSINES